const path = require('path');
const resolveRelative = path.resolve.bind(null, __dirname);

const custom = {
  '~': resolveRelative('src'),
};

module.exports = {
  resolve: {
    alias: custom,
  },
};
